package com.pureut.storage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.storage.domain.BarCodePrint;
import com.pureut.storage.dto.BarCodePrintingDto;
import com.pureut.storage.dto.PrintDto;
import com.pureut.storage.vo.BarCodePrintVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: CM
 * @date: 2023/4/3  11:45
 */

@Mapper
public interface BarCodePrintingMapper extends BaseMapper<BarCodePrint> {

    /**
     * 条码打印列表
     * @param barCodePrintVo
     * @return
     */
    List<BarCodePrintingDto> selectPrintList(BarCodePrintVo barCodePrintVo);

    /**
     * 来料打印根据物料号码带出信息
     * @param materialNumber
     * @return
     */
    PrintDto selectSuppliedMaterials(String materialNumber);
}
